
<?php /*@var $tree Tree */?>
<?php if( !empty($tags)): ?>
<div class="menu_box">
    <div class="menu_title"><?php echo __('Categories') ?></div>
    <?php foreach( $tags as $tag ): ?>
        <div class="menu_item" style="text-indent: <?php echo ($level * 7)?>px; font-size: <?php echo (13 - $level)?>px;">
            <?php echo link_to( 
                          $tag['obj']->getName()
                          , '@blog_by_tag?' . $tag['params']
                          , array('class' => '')); ?>
        </div>
    <?php endforeach;?>
</div>
<?php endif; ?>